* {
	margin: 0;
	padding: 0;
}

body {
	font: 12px Arial;
	color: #000;
	background: #f4f4f4;
}

a {
	text-decoration: underline;
	color:#475B70;
	font-size:14px;
}

a:hover {
	text-decoration: none;
}

/*
	Header
*/

#header {
	height: 65px;
	background: #5b5b5b;
	color: #cacaca;
}

#header .title h1 {
	float: left;
	display: inline;
	font: bold 21px/63px Arial;
	background: #5b5b5b;
	margin: 0 10px;
}

#header .title h1 a {
	color: #fff;
	text-decoration: none;
}

#header .title h1 span {
	font: 12px/60px Arial;
	padding-left: 10px;
}

#header .title h1 span a:after {
	content: " \00BB";
}

#header a {
	color: #cacaca;
}

#header .logged {
	float: right;
	padding: 0 10px;
	color: #cacaca;
	font: 12px/60px Arial;
}

#header .logged strong {
	color: #eee;
	margin-right: 10px;
}


/*
	Main
*/

#main {
	margin: 15px;
	border: 3px solid #ccc;
}


/*
	Links
*/

#menu {
	width: 100%;
	height: 32px;
	background: #777;
}

#menu ul {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
}

#menu ul li {
	float: left;
	height: 32px;
	border-left: 1px solid #848484;
}

#menu ul li a {
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	height: 32px;
	color: #fff;
	text-decoration: none;
	font: bold 15px/32px Arial;
	background: #777;
}

#menu ul li a:hover {
	background: #6c6c6c;
}

#menu ul li a.active {
	display: block;
}

#menu ul li a:hover.active {
	background: #ccc;
}

#menu ul li span {
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-decoration: none;
	height: 32px;
	background: #ccc;
	color: #777;
	font: bold 15px/32px Arial;
}


#submenu {
	width: 100%;
	background: #ccc;
	height: 35px;
}

#submenu1 {
	float: left;
	background: #ccc;
	height: 30px;
	padding-top: 5px;
}

#submenu2 {
	float: right;
	background: #ccc;
	height: 30px;
	padding-top: 5px;
}

#submenu1 ul, #submenu2 ul {
	float: left;
	margin: 0;
	padding: 0;
	padding-left: 20px;
	list-style: none;
	overflow: hidden;
}

#submenu1 ul li, #submenu2 ul li {
	float: left;
	height: 30px;
}

#submenu1 ul li a, #submenu2 ul li a {
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	height: 30px;
	color: #777;
	background: #ccc;
	text-decoration: none;
	font: bold 13px/30px Arial;
}

#submenu1 ul li a:hover, #submenu2 ul li a:hover {
	background: #dadada;
}

#submenu1 ul li span, #submenu2 ul li span {
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	height: 30px;
	color: #777;
	text-decoration: none;
	font: bold 13px/30px Arial;
	background: #f4f4f4;
}

/*
	Forms
*/
#main h2 {
border-bottom:1px solid #EBEBEB;
background-color:#F5F5F5;
padding:10px;
color:#777777;
font:bold 23px Arial, sans-serif;
letter-spacing:-1px;
}

.table {
	background: #fff;
	padding:10px;
}

.table h1 {
	color: #777;
	background: #fff;
	font: bold 23px Arial;
	letter-spacing: -1px;
}

.table div.title {
	background: #f5f5f5;
	padding: 10px;
	border-bottom: 1px solid #ebebeb;
}

.form {
	padding: 10px;
	font: 13px Arial;
	color: #475b70;
}

.form div p {
	padding: 2px 0;
}

.form label {
	display: block;
	font-weight: bold;
}

span.required {
	color: red;
}

.form label.checkbox {
	display: inline;
	cursor: pointer;
}

.form input.text, .form textarea {
	height: 22px;
	width: 290px;
	font: 15px/22px Arial;
	padding: 0px 2px;
	border: 1px;
	border-color: #d4d0c8;
	border-style: inset;
}

.form textarea {
	height: 120px;
}

.form select {
	width: 300px;
	font: 15px/22px Arial;
	border: 1px;
	border-color: #d4d0c8;
	border-style: inset;
}

select.with-null option:first-child, .date option:first-child {
color: #636379;
}

.form .date select {
	width: auto;
}

.form .error {
	background-image: none !important;
	color: #f00;
}


html>body .form select {
	width: 295px;
}

.form select.small {
	width: 50px;
}

.form .file {
	height: 22px;
	width: 375px;
	font: 15px/22px Arial;
	padding: 0px 2px;
	border: 1px;
	border-color: #d4d0c8;
	border-style: inset;
}

html>body .form .file {
	width: 420px;
	border: 0;
}

.form .text {
	height: 70px;
	width: 290px;
	font: 12px/14px Arial;
	padding: 1px 2px;
	border: 1px;
	border-color: #d4d0c8;
	border-style: inset;
}

.form .text.more {
	width: 99%;
}

.form .button {
	height: 30px;
	font: 15px/15px Arial;
	padding: 0 5px;
	border: 2px;
	border-color: #fff;
	border-style: outset;
	background: #d4d0c8;
	cursor: pointer;
}

/*
	Footer
*/

#footer {
	font: 13px Arial;
	color: #4e8bc1;
	text-align: center;
	border-top: 1px solid #ccc;
	padding: 10px;
}

#footer a {
	color: #4e8bc1;
	text-decoration: none;
}

/*
	Edit-list
*/

.list {
	font: 15px Arial;
	color: #475b70;
}

.list a {
	color: #475b70;
	text-decoration: underline;
}

.list a:hover {
	color: #475b70;
	text-decoration: none;
}

.list th {
	background-color: #ccc;
	color: #777;
	text-align: center;
	height:40px;
	vertical-align:middle;
}

.list th a {
	display: block;
	width:100%;
	line-height:40px;
	text-decoration: none;
}

.list th a:hover {
	background-color: #bbb !important;
}

.list td {
	padding: 3px 5px;
	height:34px;
}

.list th.order a {
	background-position: center right;
	background-repeat: no-repeat;
	background-color: #c8cace;
}

.list th.desc a {
	background-image: url(../images/arrow-down.gif);
}

.list th.asc a {
	background-image: url(../images/arrow-up.gif);
}

.list th.actions {
    width: 20%;
}

.even {
	background-color: #fff;
}

.odd {
	background-color: #f4f4f4;
}

.even .order {
	background-color: #FAFCFF;
}

.odd .order {
	background-color: #EFF2F4;
}

/*
	Other styles
*/

a.action, a.action:hover, span.action {
	display: block;
	padding: 5px 0;
	text-align: center;
}

a.action, a.action:hover {
	border-bottom: none;
	color: #000;
	text-decoration: underline;
}

a.action:hover {
	text-decoration: none;
}

a.action:hover {
	background: #dfdfdf;
	color: #000;
}

a.delete:hover {
	background: #ff0000;
	color: #fff;
	text-decoration: none;
}

.dropdown {
	cursor: pointer;
}

.dropdown:hover {
	text-decoration: underline;
}


/*
	Messages
*/

div.message {
	background: #ffffd1 15px 50% no-repeat;
	border: 2px solid;
	color: #475b70;
	font: 15px/15px Arial;
	margin: 10px 0;
	padding: 10px 20px 10px 35px;
	text-align: left;
}

.error {
	background-image: url(../images/error.gif) !important;
	border-color: #f3c89a;
}

.info {
	background-image: url(../images/info.gif) !important;
	border-color: #b5d4fe;
}


/*
	Login form
*/

#login .error {
	position: absolute;
	width: 335px;
	height: 16px;
	left: 50%;
	top: 40%;
	margin-left: -200px;
	margin-top: -150px;
	padding: 10px 20px 10px 45px;
	overflow: auto;
	background: #ffffd1 url("error.gif") center no-repeat;
	background-position: 15px 50%;
	border: 10px solid #f3c89a;
}

#center {
	position: absolute;
	width: 380px;
	height: 180px;
	left: 50%;
	top: 50%;
	margin-left: -200px;
	margin-top: -150px;
	padding: 10px;
	overflow: auto;
	border: 10px solid #ccc;
	background: #fff;
}

#center .title {
	font: bold 17px Arial;
}

#center .form .field {
	width: 230px;
}

#center a {
	color: #4e8bc1;
	font: 13px Arial;
}

/*
	Pages
*/

#pages {
	display: block;
	padding: 0 10px;
	font: 11px Arial;
}

#pages .prev {
	display: inline;
	float: left;
	padding-bottom: 10px;
}

#pages .next {
	display: inline;
	float: right;
	padding-bottom: 10px;
}


/*
	Column styles
*/
.list .id {
	text-align: right;
}

form.filter {
	text-align: right;
	margin: 10px 10px 0 0;
}

.right {
text-align:right;
}

/*
    Tree
*/
.container .left{
    float: left;
    width: 25%;
}

.container .right{
    float: right;
    width: 72%;
    text-align: left;
    padding-left: 2%;
    margin-left: -1px;
}

.container .clear {
    clear: both;
}

.container .left ul {
    list-style-type: none;
    font-size: 14px;
    color: #475B70;
}

.container .left ul li {
    margin: 10px 0;
}

.container .left ul li span {
    font-weight: bold;
}

.container .right td {
    width: 10%;
}

.container .right td.title {
    width: 80%;
}
.container .right td.question {
    width: 80%;
}

/*
    attachments
*/
.attachments {
    margin:15px 0;
}
.attachments .file {
    margin:10px 0;
}
.attachments .remove, .attachments .add {
    font:12px Arial;
    color:#0000CC;
    cursor:pointer;
}

.uploaded .files {
    float:left;
    width:255px;
}
.uploaded .links {
    float:left;
}
.uploaded .clear {
    clear:both;
    margin-bottom:5px;
}
.uploaded .links a.delete {
    font:12px Arial;
    color:#0000CC;
    text-decoration:none;
}
.uploaded .links a.delete {
    background:none;
}

#contents___Frame {
    height: 500px;
}


/*
    Answers
*/
td.answer {
    width: 80%;
}
td.right, td.action {
    text-align: center;
}

.answers textarea {
    width: 500px;
    height: 100px;
}

/* Context menu */
.context_menu {
    width: 100%;
    background: #F5F5F5;
    height: 35px;
    border:1px solid #CCC;
    margin-top:10px;
    margin-bottom:35px;
}
.context_menu1 {
    float: left;
    height: 35px;
}

.context_menu2 {
    float: right;
    height: 35px;
}
.context_menu1 ul, .context_menu2 ul {
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.context_menu1 ul li, .context_menu2 ul li {
    float: left;
    height: 35px;
}

.context_menu1 ul li a, .context_menu2 ul li a {
    display: block;
    float: left;
    padding: 0 10px;
    margin: 0;
    height: 35px;
    color: #777;
    text-decoration: none;
    font: bold 13px/35px Arial;
    border-left:1px solid #F5F5F5;
    border-right:1px solid #F5F5F5;
}

.context_menu1 ul li a:hover, .context_menu2 ul li a:hover {
    background: #DDDDDD;
    border-left:1px solid #CCC;
    border-right:1px solid #CCC;
}

.context_menu1 ul li span, .context_menu2 ul li span {
    display: block;
    float: left;
    padding: 0 10px;
    margin: 0;
    height: 35px;
    color: #777;
    text-decoration: none;
    font: bold 13px/35px Arial;
    background: #E6E6E6;
    border-left:1px solid #CCC;
    border-right:1px solid #CCC;
}
/*------------*/



#results h3 {
    font: bold 16px Arial;
}

#results ul {
    list-style-type: none;
    margin-bottom: 15px;
}

#results ul li {
    margin-left:15px;
    font: bold 13px Arial;
    color: green;
}

#results ul li.wrong {
    color: red;
}

#results h2 {
    border-bottom:0;
    background-color: green;
    padding:10px;
    color:#000;
    font:bold 23px Arial, sans-serif;
    letter-spacing:-1px;
}
#results h2.bad {
    background-color: red;
}